#!/bin/bash

# no need to enter here  -v jobdate=  entered by th SGE file. for real eq runs, add also outputfile name=a real name,
# the outputfile name is the name of the file that is the serialization of the context. so it is important
# for runs you want to continue; or the default is $JOB_NAME_DATE.

#faoorganismsstartingfrequency=0
qsub -l lilach -v maxpopulationsize=1000 -v numberofgenes=1000 -v globalmutationrate=0.01 -v standardselectionmodifier=0.1 -v predationeffectfraction=0.0 -v runlength=5.0 -v inputfile=- -v migrationfitnesscost=0.5 -v outxingfitnesscost=0.8 -v heterozygotecoefficient=0.5 -v numberofdemes=2 -v demecarryingcapacity=100 -v dememaxpopulationperiod=500 -v numberofchildren=20 -v meanoutxingfraction=0.5 -v faoorganismsstartingfrequency=0.0 -v weatherchangeindicator=0 -N ARIELTRY1 xingulation.sge

sleep 1
#faoorganismsstartingfrequency=0.5
qsub -l lilach -v maxpopulationsize=1000 -v numberofgenes=1000 -v globalmutationrate=0.01 -v standardselectionmodifier=0.1 -v predationeffectfraction=0.0 -v runlength=5.0 -v inputfile=- -v migrationfitnesscost=0.5 -v outxingfitnesscost=0.8 -v heterozygotecoefficient=0.5 -v numberofdemes=2 -v demecarryingcapacity=100 -v dememaxpopulationperiod=500 -v numberofchildren=20 -v meanoutxingfraction=0.5 -v faoorganismsstartingfrequency=0.5 -v weatherchangeindicator=0 -N ARIELTRY2 xingulation.sge

sleep 1
#faoorganismsstartingfrequency=1
qsub -l lilach -v maxpopulationsize=1000 -v numberofgenes=1000 -v globalmutationrate=0.01 -v standardselectionmodifier=0.1 -v predationeffectfraction=0.0 -v runlength=5.0 -v inputfile=- -v migrationfitnesscost=0.5 -v outxingfitnesscost=0.8 -v heterozygotecoefficient=0.5 -v numberofdemes=2 -v demecarryingcapacity=100 -v dememaxpopulationperiod=500 -v numberofchildren=20 -v meanoutxingfraction=0.5 -v faoorganismsstartingfrequency=1.0 -v weatherchangeindicator=0 -N ARIELTRY3 xingulation.sge

sleep 1